<?php
/**
 * Created by litong on Date: 2018/12/24 0024 下午 12:24
 */
declare(encoding='UTF-8');
namespace MyProject{
  const CONNECT_OK=1;
  class Connection{/**/}
  function connect(){/**/}
}
namespace {
  session_start();
  $a=MyProject\Connection();
  echo MyProject\connection();
}
?>